.image-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background: #21262d;
  border-right: 1px solid #30363d;
  gap: 12px;
  width: 80px;
  flex-shrink: 0;
}

.toolbar-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.toolbar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  background: #30363d;
  border: 1px solid #484f58;
  border-radius: 8px;
  color: #c9d1d9;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 64px;
  min-height: 64px;
}

.toolbar-btn:hover {
  background: #484f58;
  border-color: #58a6ff;
  transform: translateX(2px);
}

.toolbar-btn.active {
  background: #1f6feb;
  border-color: #58a6ff;
  color: #f0f6fc;
  box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.3);
}

.toolbar-btn.active:hover {
  background: #2e82ff;
  transform: translateX(2px);
}

.toolbar-icon {
  font-size: 20px;
}

.toolbar-name {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}

.toolbar-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.current-tool {
  font-size: 10px;
  color: #8b949e;
  background: #30363d;
  padding: 6px 4px;
  border-radius: 4px;
  border: 1px solid #484f58;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-width: 60px;
  word-break: break-all;
}

/* 动脉输入点工具特殊样式 */
.toolbar-btn[data-tool="arterial_input"] {
  background: linear-gradient(135deg, #1f6feb, #1a5bb3);
  border-color: #1f6feb;
  box-shadow: 0 0 8px rgba(31, 111, 235, 0.3);
  animation: pulse-arterial 2s infinite;
}

.toolbar-btn[data-tool="arterial_input"]:hover {
  background: linear-gradient(135deg, #2979ff, #1f6feb);
  box-shadow: 0 0 12px rgba(31, 111, 235, 0.5);
}

.toolbar-btn[data-tool="arterial_input"].active {
  background: linear-gradient(135deg, #ff1744, #d50000);
  border-color: #ff1744;
  box-shadow: 0 0 12px rgba(255, 23, 68, 0.6);
  animation: pulse-active 1.5s infinite;
}

@keyframes pulse-arterial {
  0%, 100% {
    box-shadow: 0 0 8px rgba(31, 111, 235, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(31, 111, 235, 0.6);
  }
}

@keyframes pulse-active {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 23, 68, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.9);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .image-toolbar {
    width: 70px;
    padding: 12px 6px;
    gap: 8px;
  }
  
  .toolbar-tools {
    gap: 6px;
  }
  
  .toolbar-btn {
    padding: 8px 4px;
    width: 58px;
    min-height: 58px;
  }
  
  .toolbar-icon {
    font-size: 18px;
  }
  
  .toolbar-name {
    font-size: 9px;
  }
  
  .current-tool {
    font-size: 9px;
    padding: 4px 3px;
  }
} 